//
//  UIColor+JSHandler.m
//  ShopMobile
//
//  Created by mac on 17/10/24.
//  Copyright © 2017年 soubao. All rights reserved.
//

#import "UIColor+JSHandler.h"

@implementation UIColor (JSHandler)

+(UIColor *)JS_ColorWithR:(float)r G:(float) g B:(float) b{
    return [UIColor JS_ColorWithR:r G:g B:b A:1];
}
+(UIColor *)JS_ColorWithR:(float)r G:(float) g B:(float) b A:(float)a{
    return [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a/1.0];
}
@end
